package com.soft.link.utils;

/**
 * company 重庆庆云石油工程技术有限责任公司
 * FileName MsgEnum
 * Package com.soft.link.utils
 * Description
 * author HangXueQian
 * create 2018-03-05 20:03
 * version V1.0
 */
public enum AppMsgEnum {
    APP_Login_Exception_Service("01","服务异常，请联系管理员！"),
    /* 登录相关的错误--开始*/
    APP_Login_No_TsUser ("001001","用户不存在，请联系管理员！") ,
    App_Login_No_Password ("001002","密码错误！") ,
    App_Login_No_TimeOut ("001003","登录超时！") ,
    App_Login_No_Permission ("001004","暂无权限！，请联系管理员！") ,
    App_Login_No_IsLock ("001005","账户已锁,请联系管理员！") ,
    App_Login_Yes_Success ("002001","登录成功") ,
    /* 登录相关的错误--结束*/
    ;
    private String code;

    private String desc;
    //构造方法
    AppMsgEnum(String code, String desc){
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
